package TaskOne;
//犬类
public class Wolf extends Dogs{
    /**
     * 草原狼
     */
    public String Prairiewolf;

    public Wolf(){

    }
    public Wolf(String prairiewolf){
        this.Prairiewolf=prairiewolf;
    }
    public void wolf1(){
        System.out.println(this.Prairiewolf+"正在猎杀牛羊");
    }
    public static void main(String[]args){
        Wolf wolf=new Wolf("草原狼");

        wolf.wolf1();
    }

}
